﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminComment.ascx.cs" Inherits="smartphone.UserControls.AdminComment" %>

<div class="adminTable">
    <form id="AdminComment" runat="server">
        <div class="adminTitle">
            <asp:Label ID="LabelInform" runat="server" Text="Quản lí nội dung bình luận"></asp:Label>
        </div>

        <asp:GridView ID="GridViewComment" Width="100%" AutoGenerateColumns="False" DataKeyNames="maBinhLuan" runat="server" OnRowDeleting="GridViewComment_RowDeleting">
            <Columns>
                <asp:BoundField DataField="tenSanPham" HeaderText="Sản phẩm" SortExpression="tenSanPham" />
                <asp:BoundField DataField="hoTen" HeaderText="Người gửi" SortExpression="hoTen" />
                <asp:BoundField DataField="email" HeaderText="Email người gửi" SortExpression="email" />
                <asp:BoundField DataField="noiDung" HeaderText="Nội dung" SortExpression="noiDung" />
                <asp:BoundField DataField="ngayPost" HeaderText="Ngày đăng" SortExpression="ngayPost" />
                <asp:CommandField DeleteText="Xóa" HeaderText="Xóa" ShowDeleteButton="True" ShowHeader="True" />
            </Columns>

        </asp:GridView>
    </form>
</div>